<!doctype html>
<html lang="zh-cn" ng-app="log">
	<head>
		<meta charset="UTF-8">
		<title>登陆-西电项目平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css" />
		<link rel="stylesheet" href="/css/style.css" />
	</head>

	<body >
		<!-- 导航栏组件 -->
		<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
			<div class="container">
				<!-- 导航栏下拉按钮 -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#naviList">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="#" >西电项目平台</a>
				</div>

				<!-- 导航栏 -->
				<div class="collapse navbar-collapse" id="naviList">
					<ul class="nav navbar-nav">
						<li> 
							<a href="/project"><span class="glyphicon glyphicon-align-left"></span> 浏览项目</a>
						</li>
						<li>
							<a href="/project/create"><span class="glyphicon glyphicon-plus"></span> 创建项目</a>
						</li>
						<li>
							<a href="/user/create" ><span class="glyphicon glyphicon-user"></span> 注册</a>
						</li>
						<li>
							<a href="/user/login" ><span class="glyphicon glyphicon-user"></span> 登陆</a>
						</li>
					</ul>
				</div><!-- /.navbar-collapse -->
			</div>
		</nav>
		<!-- 主显示区域 -->
		<div class="container">
			<div id="reg"  ng-controller="LogController">
				<div class="row">
					<div class="col-md-6">
						<h3>登陆西电项目平台</h3>
					</div>
				</div>

				<div class="row">
					<form id="regForm" class="col-md-4" ng-submit="submit()">
						<!-- 邮箱 -->
						<div class="form-group" id="email-group">
							<label for="email" class="control-label">电子邮箱</label>
							<input type="email" class="form-control" id="email" required placeholder="请输入您的邮箱" ng-model="email.value">
						</div>
						<!-- 密码 -->
						<div class="form-group">
							<label for="password">密码</label>
							<input type="password" class="form-control" id="password" placeholder="您的密码" ng-model="password.value">
						</div>
						<button id="sbm" type="submit" class="btn btn-default" ng-bind="submitbtn"></button>
					</form>
				</div>

			</div>	
		</div>

		<!-- 要加载的脚本 -->
		<script src="/js/libs/jquery.min.js"></script>
		<script src="/js/libs/bootstrap.min.js"></script>
		<script src="/js/libs/angular.min.js"></script>
		<script src="/js/libs/angular-route.js"></script>
		<script src="/js/libs/angular-resource.js"></script>
		<script src="/js/service.js"></script>
		<script src="/js/log.js"></script>
	</body>
</html>
